assign3.c
doing more work
the last question was a problem