added functions to cachematrix
Merge branch 'master' of https://github.com/jbdreau/ProgrammingAssignment2