Refactored the no of live neighbours method on the cell.