Added constructor for SpiralMatrix class