import java.util.*;

public class Deck
{
    public Deck (int player)
    {
        _player = player;
        _theDeck = new ArrayDeque<Integer>();
    }

    public final void add (int value)
    {
        _theDeck.add(value);
    }

    public final boolean empty ()
    {
        return (_theDeck.size() == 0);
    }

    @Override
    public String toString ()
    {
        String str = "Player "+_player+"'s deck: ";
        Iterator<Integer> iter = _theDeck.iterator();

        while (iter.hasNext())
        {
            str += iter.next()+", ";
        }

        return str;
    }

    private int _player;
    private ArrayDeque<Integer> _theDeck;
}
@@ -220,32 +220,110 @@
 (value);%0A    %7D%0A%0A
+    public final int draw ()%0A    %7B%0A        return _theDeck.getFirst();%0A    %7D%0A%0A
     public final

Update Deck.java