Building a maze generator