Update hw2.c

TOTALLY UNFINISHED