And implementation using Nand and Not
Or gate