homework for intro to AI