arrays: add documentation to number spiral
arrays: clean code of array rotation