Update cachematrix.R

Matrix inverse programming assignment 2