Added list support to logic gates

Added list support for logic gates. 

    g = Gates()
    g.AND(1,0,1) 
    g.AND([1,0,1]) #works with list input