Added list support to logic gates
Merge pull request #31 from salil93/master

Added list support to logic gates