invert matrix mathod implemented, also computing det of matrix 3x3 - cramer
created method that check if matrix is square matrix, a little refactor
solving equation by cramer method