Update AntWorld.java

Updated the cellMatches method