R-Prog006 Assignment 2