Added Comments to cachematrix.R

Added comments to document the solution.