labirynth (maze) generator bug fix