filled in code to makeCacheMatrix and cacheSolve