a markov chain sentence generator in java