Added function to write a 1D uint array to file
Added function to count the word freq in the corpus

Added a function that counts the frequency of each word, and writes it
to a csv file
Free allocated memory at the end