import java.util.*;

public class XMAS
{
    public XMAS (boolean debug)
    {
        _debug = debug;
    }

    public Vector<Integer> validate (Vector<Integer> input, int preamble)
    {
        Vector<Integer> invalid = new Vector<Integer>();
        int index = 0;

        return invalid;
    }

    private boolean _debug;
}
@@ -264,16 +264,234 @@
 x = 0;%0A%0A
+        for (int i = preamble; i %3C input.size(); i++)%0A        %7B%0A            int toCheck = input.elementAt(i);%0A%0A            for (int j = index; j %3C preamble; j++)%0A            %7B%0A                %0A            %7D%0A        %7D%0A%0A
         

Update XMAS.java