Homework 2 : code review.