Realization of all-optical NOR gate based on four wave mixing, non-linear effect in SOA