Wrote makeCacheMatrix() and cacheSolve() functions