結果 : implement and or not and xor gates using nand gates only