Changed logic for base-case of ID3 algorithm. Should now terminate when examples are all negative or positive.