Slightly modified the revealCell function to not reveal the cells around a mine if it is clicked