Completed Assignment 2

Updated cachematrix.R with completed functions as part of assignment 2.