Implement IfStatement.