Finished if statements. Added a check for closing curly braces to compound statements.