Design of a Photonic Crystal Exclusive-OR Gate Using Recurrent Neural Networks | Synapse