Defined square_matrix_test.rb and square_matrix.rb method contracts.