made Generation from given board more stable by stepping back to random generation in case of problems. Also added some Log outputs to BoardFactory