if wall_from_left() and wall_from_right():
move_down()
if wall_from_left() and wall_from_down():
fill_cell()
move_right()
move_up()
fill_cell()
move_down()
if wall_from_right() and wall_from_down():
move_up()
fill_cell()
move_down()
move_left()
fill_cell()
move_right()
if wall_from_left() and wall_from_down():
fill_cell()
move_right()
move_up()
fill_cell()
move_down()
if wall_from_right() and wall_from_down():
move_up()
fill_cell()
move_down()
move_left()
fill_cell()
move_right()