some work on maze generator