Complete BoardList nextLegalBoards() method for Board, that will create and return a list of all the next possible Boards; follow this pseudo-code (assuming you are doing tic tac toe)
if (!gameOver()) {
for each empty space on the board
create a new board with X's and O's in the same place as this one (this is called "clone()")
play whoseTurn in that empty spot
set whoseTurn = -whoseTurn (so that the other player will play on the next turn!)
add the new Board to the list
}
Of course, by this point, you know that you should test using a Board position where there are only a few possible moves and the game ends within a move or two... right?