begginings of generating a maze