public static int findClosingParenIteratively(String s, int startingParenLoc) {
		// check for valid parens location
		int openParenCounter = 1;
		int returnVal = -1;

		if (errorCheck(s, startingParenLoc))
			return -1;

		for (int i = startingParenLoc + 1; i < s.length(); i++) {

			if (s.charAt(i) == '(') {
				openParenCounter++;
			} else if (s.charAt(i) == ')') {
				openParenCounter--;
			}

			if (openParenCounter == 0) {
				returnVal = i;
				break;
			}
		}

		return returnVal;
	}