Added a fillEmptyCell method, needs debugging