programming assignment 2 answer for functions makeCacheMatrix and cacheSolve