Update and rename 2.c to getAngle.c