Adding toString method to Board.