Update cell.java

corrected wraparound