Code generator

This is WIP: only AST done