added basic find_by_grammar algorithm (not working at the moment)
added basic find_by_grammar algorithm (not working at the moment)