Update cachematrix.R

John Huberty's completed assignment2