edited .c programs in module 1 and 2