Fulfilled programming assignment 2 requirements. Sample usage of a 6x6 matrix:

> source("cacheMatrix.R")
> a <- makeCacheMatrix(matrix(c(1, 1,  1,  1,  1, 1,
+                               1, 2,  3,  4,  5, 6,
+                               1, 3,  6, 10, 15, 21,
+                               1, 4, 10, 20, 35, 56,
+                               1, 5, 15, 35, 70, 126,
+                               1, 6, 21, 56, 126, 252),ncol=6,byrow=T))
> cacheSolve(a)
     [,1] [,2] [,3] [,4] [,5] [,6]
[1,]    6  -15   20  -15    6   -1
[2,]  -15   55  -85   69  -29    5
[3,]   20  -85  146 -127   56  -10
[4,]  -15   69 -127  117  -54   10
[5,]    6  -29   56  -54   26   -5
[6,]   -1    5  -10   10   -5    1
> cacheSolve(a)
getting cached data
     [,1] [,2] [,3] [,4] [,5] [,6]
[1,]    6  -15   20  -15    6   -1
[2,]  -15   55  -85   69  -29    5
[3,]   20  -85  146 -127   56  -10
[4,]  -15   69 -127  117  -54   10
[5,]    6  -29   56  -54   26   -5
[6,]   -1    5  -10   10   -5    1