write winning moves to openingBook