An Implementation of  decision tree (ID3).