title: Changing lines while printing array
body: <p>I'm trying to read a txt file and print the line opposite. for example: 
  txt:</p>
  
  <pre><code>3 //size of matrix  
  3 4 5  
  5 6 7  
  6 7 8  
  </code></pre>
  
  <p>output should be:  </p>
  
  <pre><code>6 7 8  
  5 6 7  
  3 4 5  
  </code></pre>
  
  <p>I wrote a program. the program prints:</p>
  
  <pre><code>5 6 7  
  3 4 5  
  </code></pre>
  
  <p>which is without the first line: <code>6 7 8</code>.</p>
  
  <p>What is my mistake? </p>
  
  <pre><code>public static void main (String[] args)  {
     int matrixSize = StdIn.readInt(); 
     String [] array = new String [matrixSize]; 
     for (int i=0; i &lt;= matrixSize-1; i++)
     { 
        array[i] = StdIn.readLine();
        StdOut.println(array[i]);
     } 
     for (int j=matrixSize-1; j &gt;= 1; j--)
     {
        StdOut.println(array[j]);
     }
  }
  </code></pre>