new maze generator method in class