Submission for cachematrix.R

Submission for cachematrix.R with a bunch of unit tests.