Changed package structure.
Changed the basic gates from AND gates and OR gates to NAND and NOR
gates because the later two are universal.