Update AntBrain.java

Added extra method checkSyntax2 (only temporary, used for testing things)