making training randomtree