Rudimentary ghost ai and pac-man avoidance ai