private static long countLiveNeighbors(final Cell cell, final Cells cells) { return cell.provideNeighbors().stream().filter((Cell c) -> cells.isAlive(c)).count(); }