Programming Assignment 2

Updated to calculate inverse of a matrix