Update cell.java

fix wraparound calcneighbors