A horribad attempt at the ID3 decision tree algorithm.