added method to track pacman's location