Added spiralIterator and a new .gitignore to ignore MATLAB temporary files

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