New structure for gates
Merge branch 'master' of https://github.com/alexjwong/logic-simulator