Stack Operations Program In Python