start working on the back tracking alg for generating new maps