Added example code to ID3 algorithm