R-Assignment 2