Init Decision Tree algorithm and finish somoe basic function