Implemented cachematrix.R

Added implementation for makeCacheMatrix() and cacheSolve() functions.