I am building hashmap that gets strings as a key and searches for occurrences of particular word in a text. I am not sure how to implement my searching function that return