SIMULTANEOUS ALL-OPTICAL LOGIC AND AND OR GATES BASED ON PHOTONIC CIRCUITS