Completed some CH02 homework.