Assignment 2

completed R file - cachematrix.R - for assignment 2