arrays: switch dynamic array resizing after a pop to using realloc
arrays: add documentation to number spiral
arrays: clean code of array rotation
arrays: zero out cleanup