Exercises in Artificial Intelligence