Added comments to all of the functions in board.