Added two functions to create a matrix and compute is inverse.