TREE GENERATING SYSTEMS AND TREE AUTOMATA