Implementation of the ID3 for mining decision trees from data