ID3 machine learning algorithm