August 10 2014: Statemachine bugfix
	If the state sequences were longer than the state machine and
	the states in the sequence up to the length of the state machine
	matched, the statemachine would return True, even though there
	were still more characters.

	In the future, I may change run to match and create a separate
	search method, which will find all the longest matches in the
	input sequence.