Update and rename hw2.c to main.c