Changed what kind of functions are passed to end()

Now instead of having a function that returns true if you want the
markov chain to continue generating, the fucntion now returns true
when you want the markov chain to stop.
Adding documentation to README.md