Hashmap example

creating dictionary from the text