Java hashtable assignment from Fall 2012 Data Structures.