Made the class constructor and randomized the board.