Adjusted mainstate for running some tests, config file functionality currently breaks when used with nesting states, this needs to be repaired before it can go back into use.  Fully tested the forwards search pattern and constrained state.  A new utilClasses file has been added for utility classes, currently this only contains a timer class.  Pass Counting utility state has been modified to have function that returns a check function for checking if a certain number of passes have been made.