Changed Cell.java for testing