public static int getValue(String numeralString) {
		int value = 0;
		int curIndex = numeralString.length() - 1;
		char highestCharacter = 'I';
		while (curIndex >= 0) {
			char curCharacter = numeralString.charAt(curIndex);
			if (values.get(curCharacter) >= values.get(highestCharacter)) {
				value += values.get(curCharacter);
				highestCharacter = curCharacter;
			} else {
				value -= values.get(curCharacter);
			}

			curIndex--;
		}

		return value;
	}