completed assignment by coding makeCacheMatrix and cachSolve functions