AI course homework