Think Python ch18 refactor markov
Think Python ch18 markov refactored, TODO: debug