main.gg synced with compiler.

done:
- function
- scoped varaibles
- function calls