fixed food arrays, new event handler for pacman