Full Code with Comments

The code with both the makeCacheMatrix &  cacheSolve
function with comments is submitted