changed mazegeneration, still need to debug but cannot compile atm -mike