Move FrequencyList to its own file and have Markov use it.
Add code for simple prediction (using only word frequency)