moving AST and CodeGenerator to PegSolitaire library