private static int askForNumberBetween( String question, int min, int max ) {
		println( question );
		while( scanner.hasNext() ) {
			try {
				int number = Integer.parseInt( scanner.next() );
				if( number>=min && number<=max ) {
					return number;
				} else if( number<min ) {
					println( "Sorry, this number is too small." );
				} else if( number>max ) {
					println( "Sorry, this number is too big." );
				}
			} catch( NumberFormatException ex ) {
				println( "Sorry, that's not a number. Try again" );
			}
		}
		return 0;
	}