static public int getLargestSquare(int largestSize, List<String> anagrams) {
		int theNumIKnow = (int) Math.sqrt(Math.pow(10, largestSize - 2));
		for (int i = theNumIKnow; i > (theNumIKnow / 3) + 1; i--) {
			int[] digits = new int[largestSize - 2];
			int value = i * i;
			for (int j = largestSize - 3; j >= 0; j--) {
				digits[j] = value % 10;
				value /= 10;
			}

			for (int j = 0; j < anagrams.size(); j++) {
				Map<Character, Integer> map = new HashMap<Character, Integer>();
				if (anagrams.get(j).split(",")[0].length() == largestSize) {
					String anagramLeft = anagrams.get(j).split(",")[0];
					for (int k = 1; k < anagramLeft.length() - 1; k++) {
						map.put(anagramLeft.charAt(k), digits[k - 1]);
					}
					int newValue = 0;
					String anagramRight = anagrams.get(j).split(",")[1];
					for (int k = 1; k < anagramRight.length() - 1; k++) {
						newValue = map.get(anagramRight.charAt(k)) + newValue
								* 10;
					}

					int temp = (int) Math.sqrt(newValue);
					System.out.println(anagramLeft + " " + anagramRight + " "
							+ i * i + " " + newValue);
					if (temp * temp == newValue) {
						System.out.println("Largest SQUARE:" + value
								+ anagramLeft + " " + anagramRight);
						return value;
					}
				}
			}
			largestSize--;

		}
		return 0;
	}