First version of maze mapper