private boolean ProperPerm(){
		int index = 0; //index of input being checked
		
		//Stage One
		while(index < input.length()){//makes sure the first non-space character is { or a number
			char ch = input.charAt(index);
			index++;
			if(StageOneEnder(ch)){//sees if character is a number or "{"
				break;
			}
			if(ch != ' '){//if character is not a space, then the string is invalid
				return false;
			}
		}
		
		//Stage Two
		while(index < input.length()){
			char ch = input.charAt(index);
			index++;
			if(!StageTwoProper(ch)){
				return false;
			}
			if(ch == '}'){
				break;
			}
		}
		
		//Stage Three
		while(index < input.length()){
			char ch = input.charAt(index);
			index++;
			if(ch != ' '){
				return false;
			}
		}
		return true;
	}