Started prediction function for ID3