semi working maze generator