Major bug fixes and new error checking

Fixed a bug where the While case was setting line_count to next_line
when it hadn't necessarily modified it.
Fixed a bug where the "Else" case wasn't checking for scopes larger than
it's scope
Added an error check for an undefined scope (too many tabs).