Text this: Simulating the exchange of Majorana zero modes with a photonic system