cacehMatrix.R

added required comments and solve function to code