Homework 3 for WPI RBE 2001.