updated Earley

added in python files with functions and classes needed, and added
example test files