solve(A) computes the inverse of the matrix .
solve(A,b) computes Ax = b