Refactored CellFactory  to use CellStatus enum instead of Bool in cell creation.