Added implementation of maze generating algorithm