Added code to complete Assignment 2

Implemented the makeCacheMatrix and cacheSolve functions and provided comments to explain how they work.