solution for homework 4 7680451