answer to assignment  week4-assignment-3.