Guide a worm around a maze