Extension of the coding dojo's week one pacman