Update cachematrix.R

Added implementation to functions makeCacheMatrix and cacheSolve