eliminate dangling else problem, add iterative, break, and return statements
complete statement productions