private boolean askLevelPlayer(){
		
		attempts = 0;
		boolean LevelSelected = Boolean.FALSE;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(!LevelSelected){
			try{
				System.out.println("Welcome to play hangman of South American Countries");
				System.out.println("Enter a number to select the level:");
		        System.out.println("1 - Easy");
		        System.out.println("2 - Medium");
		        System.out.println("3 - Hard");
		        String level = br.readLine();
		        
		        int i = Integer.parseInt(level);
		        LevelSelected = (i==1 || i==2 || i==3) ? Boolean.TRUE : Boolean.FALSE;
		        if (LevelSelected) {		        	
		        	switch (i) {
					case 1:
						System.out.println(String.format("Level Easy: you have %d opportunities to guess", easyLevel));
						attempts = easyLevel;
						break;
					case 2:
						System.out.println(String.format("Level Medium: you have %d opportunities to guess", mediumLevel));
						attempts = mediumLevel;
						break;
					case 3:
						System.out.println(String.format("Level Hard: you have %d opportunities to guess", hardLevel));
						attempts = hardLevel;
						break;
					}
		        }
		        
	        }catch(Exception ex){	            
	        	System.out.println("Invalid imput, try again");
	        }		
		}
		return LevelSelected;
	}