Init impl of makeCacheMatrix and cacheSolve