Update and rename 1.txt to spiral.cpp