if((lowerGen==null||newGen.isHarder(lowerGen.getValue()))&&(higherGen==null||higherGen.getValue().isHarder(newGen))){//verify if the level makes sense with the requirement
User.levels.put(req,newGen);
}else{
thrownewNumberFormatException();
}
}catch(NumberFormatExceptione){
System.out.println("Invalid levels! Using default...");