Converted if and while to use parse_body_statement
You can now get rid of curly braces, and else if works.