Inverse matrix calculation code

Homework Assignment #2