import java.util.*;

public class Assessment
{
    public static final String INPUT_FILE = "data.txt";

    public static void main (String[] args)
    {
        boolean verify = false;
        boolean debug = false;

        for (int i = 0; i < args.length; i++)
        {
            if ("-help".equals(args[i]))
            {
                System.out.println("Usage: [-debug] [-verify] [-help]");
                System.exit(0);
            }

            if ("-debug".equals(args[i]))
                debug = true;

            if ("-verify".equals(args[i]))
                verify = true;
        }

        if (verify)
        {
            Verifier v = new Verifier(debug);

            if (v.verify())
                System.out.println("Verified ok.");
            else
                System.out.println("Verify failed!");

            System.exit(0);
        }

        Vector<Food> foods = Util.loadRules(INPUT_FILE, debug);

        if (debug)
            System.out.println("Got back:\n"+foods);

        Babel fish = new Babel(debug);
        int occurrences = fish.translate(foods);

        System.out.println("Cound of ingredients which cannot contain any of the allergens: "+occurrences);
    }
}
@@ -1057,23 +1057,21 @@
     
-int occurrences
+String result
  = f
@@ -1125,85 +1125,53 @@
 ln(%22
-Cound of ingredients which cannot contain any of the allergens: %22+occurrences
+canonical dangerous ingredient list: %22+result
 );%0A 

Update Assessment.java