automatic generate maze game