added implementation of functions

Implemented makeCacheMatrix and cacheSolve functions. Added comments