Update cachematrix.R

Added the get and set functions to calculate the inverse of a square matrix.