Programming Assignment 2 - Inverse of matrix