Basic working mapgenerating example