Refactor to be oop and make pacman image rotate when going different directions