Simple learning AI program