Spiral read of matrix

Microsoft interview question of reading spiral matrix.