homework for my AI course