add class TrainSample
add gitignore
add train_sample.py
rename, fix bugs
dev dtree, fixx bugs