Added begin…end and method…end statements.
Merge pull request #30 from BarAgent/statements

Added begin…end and method…end statements.