fixed .contains(TERM)

fixed the contains method for hashTables
Merge branch 'check-contains'