homework2.c added