changed renderLevels() function with if cell==='empty' to leave it empty for where the ghosts will start