Programming Assignment2 rprog-002