Implements function statements
Fix variables & functions scopes
Implements auto reverse
Implements timeout and rotate to statements.
fix if without else grammar.