Added function and some tests for getSpiralArrayWidth