right click event for placing the flags
game over when clicked on a mine