complete assignment 4 homework