Fixed Begin to where the scope is correct

also made declarations work inside statement lists