maze generator and gyro controls