restructure parser's `program`

Limits return statements to the function block. Allows statements at
base level
allow base level statements

closes #52