Stack Implementation Using Array Code In Python