Matrix Layer Rotation Difficulty: Hard Source: https://www.hackerrank.com/challenges/matrix-rotation-algo/problem