Implement flattening (converting AST to CFG) for a small part of the grammar.
Move compiler into a subdir.
Add path search to CFGs (useful mostly for tests).