Completed word count file with both functions implemented