Make variavle mainFuncScopeStackLv be global
Add simple_itoa to convert int to char array