Update main1.c

This is the exercise that is expected to be completed by the end of chapter 1 in MCI:C.