Edited version of cachematrix.R

code changes to implement inverse of matrix calculation and use the
cache