import java.util.Scanner;
import java.util.HashSet;

public class Main {
	private static Scanner in = new Scanner(System.in);
	private static Cauldron cauldron = new Cauldron(new HashSet<Compound>());

	public static void main(String[] args) {
		if (args.length != 0) {
			int skipped = 0;
			for (String arg : args) {
				boolean c = cauldron.add(arg);
				if (!c) {
					System.out.printf("I don't recognise the ingridient %s.\nSkiping it.\n", arg);
					skipped++;
				}
			}
			if (skipped == 0) {
				System.out.printf("All ingidients sucsesfully added");
			}
			if (skipped > 1) {
				System.out.printf("%d ingridients skiped\n", skipped);
			}
		}
		while (true) {
			System.out.println(cauldron);
			System.out.print("Add an ingredient: ");
			String nextLine = in.nextLine();
			boolean c = cauldron.add(nextLine);
			if (!c) {
				System.out.println("I don't recognise that ingridient");
			}
		}
	}
}

@@ -409,25 +409,25 @@
 on't recogni
-s
+z
 e the ingrid
@@ -420,25 +420,25 @@
 ize the ingr
-i
+e
 dient %25s.%5CnS
@@ -543,17 +543,18 @@
 %22All ing
-i
+re
 dients s
@@ -555,18 +555,19 @@
 ents suc
+ce
 s
-e
 sfully a
@@ -630,25 +630,25 @@
 ntf(%22%25d ingr
-i
+e
 dients skipe
@@ -646,16 +646,17 @@
 nts skip
+p
 ed%5Cn%22, s
@@ -903,17 +903,17 @@
  recogni
-s
+z
 e that i
@@ -915,17 +915,17 @@
 hat ingr
-i
+e
 dient%22);

Fix Typo