added code to calculate and cache inverse of a matrix
added comments on how to run the script with sample data