Text this: Design of parity generator and checker circuit using electro-optic effect of Mach–Zehnder interferometers