MOved out hole detection
changed all & and | to && and || also fixed region growing so that region_size_list doesnt go oor