Yet another implementation of the Mazewar Assignment