Print Hashmap

Adds the function saveHashMap for printing the map

Format:
#spam #nonspam
word frequency
word frequency
…