Adding a method to the Array class to produce spiral arrays.