Rotate a 3×3 digit grid by 180° | Microsoft Interview Question