Add gate logic
Merge branch 'master' of https://github.com/alexjwong/logic-simulator