Create functions that take a strings and return the first repeated word using HashTable.
I have written a code that return the first repetitive word in a hash table.