def initialize(region):
    for row in region:
        (yield [Patch(visited=False, value=field) for field in row])
def initialize(region):
    for row in region:
        (yield [Patch(visited=False, value=field) for field in row])