Created class CaseBasedAI; needs to be implemented based on the old version