Creating Simple Input Python Syntax Checker