title: Reading a number the second time
body: <p>Through the cmd if a user enters the following numbers: <code>2 -13 4 12 -1 113 19</code>, the output should be:</p>
  
  <pre><code>(2,-13) has signs (+,-) and is in Q4
  (4,12) has signs (+,+) and is in Q1
  (-1,113) has signs (-,+) and is in Q2
  </code></pre>
  
  <p>But what I'm getting is this:</p>
  
  <pre><code>(2,-13) has signs (+,-) and is in Q4
  (-13,4) has signs (-.+) and is in Q2
  (4,12) has signs (+,+) and is in Q1
  (12,-1) has signs (+,-) and is in Q4
  (-1,113) has signs (-.+) and is in Q2
  (113,19) has signs (+,+) and is in Q1
  </code></pre>
  
  <p>i.e. the second number in the pair repeats itself again as the first number in the next consequent pair. Whats wrong with the code?</p>
  
  <pre><code>public static void main(String [] args) 
      {
  
           int[] numbers = new int[args.length];
             try
              {
                  for (int i = 1; i &lt; args.length; i++) 
                  {
  
                      numbers[i-1] = Integer.parseInt(args[i-1]);
                      numbers[i] = Integer.parseInt(args[i]);
                      System.out.println("("+numbers[i-1]+","+numbers[i]+")" + " has signs " + checkSigns(numbers[i-1], numbers[i]) + " and is in " + fromInts(numbers[i-1], numbers[i]));
                  }
              }
              catch (NumberFormatException e)
              {
                  System.out.println(e.getMessage());
              }
      }
  </code></pre>