Submital of Programming Assignment 2