Solution for cachematrix

working functions for makeCacheMatrix() and cacheSolve()