Markov irc bot in python