Completed makeCacheMatrix and cacheSolve functions

Modified the stubs and completed the makeCacheMatrix and cacheSolve
functions.