Stack Implementation Using Array Python Methods Vs Attributes