All-Optical Implementation of Inversion Logic Operation by Second Harmonic Generation and Wave Mixing Character of Some Non-Linear Material