Update cachematrix.R

Assignment 2 - cachematrix.R submitted at 2.34 PM (MST) by Vishal Shah.