A new method for the inverse of the square matrices