Valid input check and new game resets working