import java.util.*;
import java.io.*;

public class Util
{
    public static final Vector<Long> loadData (String inputFile, boolean debug)
    {
        /*
         * Open the data file and read it in.
         */

        BufferedReader reader = null;
        Vector<Long> values = new Vector<Long>();

        try
        {
            reader = new BufferedReader(new FileReader(inputFile));
            String line = null;

            while ((line = reader.readLine()) != null)
            {
                values.add(Long.parseLong(line));
            }
        }
        catch (Throwable ex)
        {
            ex.printStackTrace();
        }
        finally
        {
            try
            {
                reader.close();
            }
            catch (Throwable ex)
            {
            }
        }

        return values;
    }

    private Util ()
    {
    }
}
@@ -52,16 +52,573 @@
  Util%0A%7B%0A
+    public static final long smallest (Vector%3CLong%3E data)%0A    %7B%0A        long min = data.elementAt(0);%0A%0A        for (int i = 0; i %3C data.size(); i++)%0A        %7B%0A            if (data.elementAt(i) %3C min)%0A                min = data.elementAt(i);%0A        %7D%0A%0A        return min;%0A    %7D%0A%0A    public static final long largest (Vector%3CLong%3E data)%0A    %7B%0A        long max = data.elementAt(0);%0A%0A        for (int i = 0; i %3C data.size(); i++)%0A        %7B%0A            if (data.elementAt(i) %3E max)%0A                max = data.elementAt(i);%0A        %7D%0A%0A        return max;%0A    %7D%0A%0A
     publ

Update Util.java