add solution to final homework assignment.