fixed script hello.txt
avoid memory leak
wrote switch in tree2asm