public static int calcRWLCount(int lvl,double factor){
  return ((int)Math.ceil(factor * Math.log10(2 + rand.nextInt(lvl * lvl)))) + rand.nextInt(2);
}

public static int calcRWLCount ( int lvl , double factor ) { return ( ( int ) Math . ceil ( factor * Math . log10 ( 2 + rand . nextInt ( lvl * lvl ) ) ) ) + rand . nextInt ( 2 ) ; }
calculate amount of words of one set for rand . word game , with a factor
