Hierarchical finite state machine controller for MS Pacman's ghosts..