edited chachematrix.R
Merge https://github.com/sm06ssh/ProgrammingAssignment2