Fix issue when TILE_HELPER was left in the maze
Throw logic_error exception when trying to replace TILE_START with TILE_END
Remove debug code