id3 algorithm

- id3 algorithm for decision trees implemented
- Completed #1110