Pacman: An implementation example.