public int readAns() {
	boolean readAns = true;
	int ans = getInt( "Enter 1 if yes, enter 2 if no." );

	while (readAns ) {
	    if ( ans != 1 && ans != 2 ) {
		System.out.println( "Oops, your answers must be 1 or 2, try again." );
		ans = getInt( "Enter 1 if yes, enter 2 if no." );
	    }
	    else {
		readAns = false;
	    }
	}
	return ans;
    }