Programming Assignment #2

Added inverse matrix function logic