Created the constants.py file. Removed NotValidState.