Added base of function to check map consistancey based on a flood fill approach.