Trying to generalize code to look at all states.  There are still some bugs that I'm trying to fix and I want to make the code more efficient.