Commit of code for ProgrammingAssignment2 rprog-004