updated the 3rd homework.