syntax: fsm_hasher infile [outfile]

Where:
	infile has the number of words on the first line and then one word per line
	outfile optionally receives a dump of the hashtable (shorts).

Hash function is:

hashtable[first_letter] + hashtable[last_letter] + length;

