Changed the way the code is structured to allow for changing of the board size and cell size.