Simple markov chain text generator that takes input from stdin and generates chains to stdout