Added nand,xor and gate spawning.
Add Gate Class, Circle Class, and relative positioning.