Update cachematrix.R

Replaced homework assignment 2 with the original test file