Update AntWorld.java

Started writing checkSyntax