sem2hw5task1: added const specifiers to method isInTable from class
HashTable and to method isInList from class WordList.