finished part 2, ID3 with pruning

added code for generating graphs, commented out at the bottom