added hw1.c file for testing