exercises from AI planning class