Update cachematrix.R

Filled in what the functions makeCacheMatrix and cacheSolve do.