Update AntWorld.java

Fixed errors in checkSyntax with x and y wrong way round