Added in the "generateBoard" algorithm.