Added function for arraylist cloning in ID3
found error in id3