Implementing Stack Using Array In Python Definition