added problem4.c not completed