finished id3 implementation
finished id3 algorithm