Added return values to spiralIterator

Signed-off-by: Nicholas Kamper <kampernj@rose-hulman.edu>