adding scope for statement with block such as for,if,do,while...
adding compile check for forstatement and foreach statement
add scope for blockStatement and remove scope from other statement
modify some code miss
modify some code miss