Pipe maze generator