Added the SyntaxErrorCollector class