Stack Program Using Python Idle Shell