Programming Assignment #2.