Types of boundaries

123
Across
  1. 2. It move to the left
Down
  1. 1. Its moves to the right
  2. 3. it moves to the middle