Added an event handler

for the click event of the grid of buttons,
//TODO: combine this code with the other copy's code that hides the
mines.