Complete the assignment 2 of rprog-005.