optional homework for the ai-class