First commit with the code for programming assignment 2 as requested
by the instructors.