import java.util.*;

public class Deck
{
    public static final int SIZE_OF_DECK = 10007;

    public Deck (boolean debug)
    {
        this(debug, false);
    }

    public Deck (boolean debug, boolean populateDeck)
    {
        _theDeck = new Vector<Integer>(SIZE_OF_DECK);
        _debug = debug;

        if (populateDeck)
            initialise();
    }

    public void dealInto (Deck recipient)
    {
        for (int i = 0; i < SIZE_OF_DECK; i++)
            recipient._theDeck.set(SIZE_OF_DECK -1 -i, _theDeck.elementAt(i));
    }

    public String toString ()
    {
        String str = "Deck: ";

        for (int i = 0; i < SIZE_OF_DECK; i++)
            str += "\n"+_theDeck.elementAt(i);

        return str;
    }

    private void initialise ()
    {
        for (int i = 0; i < SIZE_OF_DECK; i++)
            _theDeck.add(i, i);
    }

    private Vector<Integer> _theDeck;
    private boolean _debug;
}
@@ -147,12 +147,11 @@
 ug, 
-fals
+tru
 e);%0A
@@ -318,24 +318,70 @@
 pulateDeck)%0A
+            populateWithCards();%0A        else%0A
             
@@ -488,32 +488,42 @@
 E_OF_DECK; i++)%0A
+        %7B%0A
             reci
@@ -585,16 +585,26 @@
 At(i));%0A
+        %7D%0A
     %7D%0A%0A 
@@ -784,32 +784,32 @@
 urn str;%0A    %7D%0A%0A
-
     private void
@@ -868,32 +868,163 @@
 E_OF_DECK; i++)%0A
+            _theDeck.add(i, -1);%0A    %7D%0A%0A    private void populateWithCards ()%0A    %7B%0A        for (int i = 0; i %3C SIZE_OF_DECK; i++)%0A
             _the

Update Deck.java