hw6 part three done.