Updated R File for Assignment 2

Updated R file to cache inverse of a matrix.  Added comments.