Generates random Python functions using Markov chains