randomly set a number of bombs in a grid