Implementation of ID3 algorithm for Aritificial Intelligence in JAVA