get.random.regions function

generates a set of random regions