Update AntBrain.java

Added one line in checkSyntax to make input string all lowercase.