Adds Earley algorithm with Predictor