Flipping an Image

Try to solve the Flipping an Image problem.

Statement

Given that an image is represented by an (n×n)(n \times n) ...