Implement cachematrix

Implement makeCacheMatrix and cacheSolve functions.