Stack Implementation Using List In Python Methods