used dictionaries to store key-value for cities and states