BeamSearch & PCFG : The learn now stops when the grammar has more tha 150 rules
Corpus : fix a bug with the compare function
Signed-off-by: eldr4d <nikofinas@gmail.com>