Homework_5 and updated program4.c