Create spiral-matrix.cpp

be very careful about the index changes