added termIndex and HashTable

added complete TermIndex interface, added incomplete HashTable class