Finished with AST

Needs attention for nested ifs ->not supported