Correct a board generator - generateBoard()