Markov Chain Generator app written in node