cachematrix.R

This work has been submitted as fulfillment of assignment 2