Made Markov functions more generic, don't need to be restricted to only Strings.
Make Markov Chain implementation its own module.