Create statehash.py

It is used by the locator in order to change the name of a state to its abbreviation