Wrote and tested basic gates using nand, mux and demux