The programming exercises for the artificial intelligent class