Added some Ch. 3 exercise code.