Stack Implementation Using Array Python Methods