Create Assignment 2 program

Change "special vector" into "special matrix" and check the matrix in attribute whether it is a square invertible.
Before publish this program, test by some square invertible matrix  (compare with the result by solve()) and also test cash by running this program twice.