92939495969798
for (LiveCell currentCell : liveCells) { if(currentCell.isAtPosition(position)) { return new LiveCell(position); } } return new DeadCell(position); }