made a class out of the code that counted the surrounding mines.
oops.
Merge commit 'fea5d848465a5dfa9a1e14ebb1a3b0cf57b12e45'