final revision

created makeCacheMatrix and cacheSolve functions