Update AntBrain.java

Functioning checkSyntax method implemented, and some temporary methods for testing (may become permanent if they are useful). More functionality needs to be be added to checkSyntax (at the moment, it only checks for "marker x" not the other form "marker(x)") but it should be useable for whatever other parts of code require it.