title: Re-write method from using Array to using ordered List
body: <p>I have to write a Method twice. Once using Array and once using linked Lists. 
  The task is to draw a Polygon. The points are saved in an Array or linked Lists. </p>
  
  <p>I already did the first part (Array and it works perfectly)</p>
  
  <pre><code>public void draw() {
          Drawing.graphics.setColor(this.color);
          int[]xPoints = new int[this.points.size()];
          int[]yPoints = new int[this.points.size()];
          for(int i = 0; i &lt; this.points.size();i++){
              Position p = this.points.get(i);
              xPoints[i] = p.getX()+this.origin.getX();
              yPoints[i] = p.getY()+this.origin.getY();
          }
          Drawing.graphics.fillPolygon(xPoints,yPoints,this.points.size());
  
      }
  </code></pre>
  
  <p>Now I just don't know how do write the same Method only using linked Lists.
  That's how far I've come. It's not much..... </p>
  
  <pre><code>public void draw() {
          Drawing.graphics.setColor(this.color);
          PolygonList list = new PolygonList(this.points.size(),this.points.size(), this.color);
              Drawing.graphics.fillPolygon(list.origin.x,list.origin.y,this.points.size());       
      }
  </code></pre>
  
  <p>Thanks for the help!</p>