Implements q-learning and markov decision models to train pacman agents