Design of all-optical D flipflop using SOA-MZI Architecture