made fill(). However, does not work when checking every cell after map is drawn