update SpiralMatrix.java