Update hw2.c