Automated generation of poetry based on pruning the results of a markov model with various heuristics