completed makeCacheMatrix and cacheSolve functions

The empty shell functions have been filled in and are now usable.