BuildTrees buids series of trees for given boards produced by the DecisionTreesBuilderHelper and saves them as well as the index file containing a map of a position and its decision tree file name.