Counts the occurrences of a word in text.

Scala program that takes in a text file and a pattern and finds the
number of occurrences of the pattern in that particular file.