Python Checking If Input Is Integer