static void printSystem ( Fraction[][] matrix ) {
      int spaces;
      out.printf( "\n" );
      for ( int i = 1; i <= rows; i++ ){
         for ( int j =1; j <= columns; j++ ) {
            if ( j != columns ){
               if ( matrix[i][j].getNumerator() != 0 ){
                  spaces = maxLength - matrix[i][j].length()-2;
               } else {
                  spaces = maxLength+2;
               }
               for ( ; spaces > 0; spaces-- ) {
                  out.printf( " " );
               }
               //if (j!=column)
               if ( matrix[i][j].equals( one ) ) {
                  //matrix[i][j].output();
                  out.printf( "X%d + ", j );
               } else if ( matrix[i][j].getNumerator() != 0 ) {
                  matrix[i][j].output();
                  out.printf( "X%d", j );
                  //if j
               }
            }else {
               out.printf( "=  " );
               matrix[i][j].output();
               out.printf( "\n" );
            }
         }
      }
   }