Complete Programming Assignment 2