Updates to ID3 algorithm