Generating AST nodes for custom node

Fix some errors in AST node generation for custom node. A custom node will be compiled to a function definition node and be sent to the LiveRunner. 

Not ready for testing yet because of some backend language issues.