Small vacuum AI program based on Chapter 2 of AI: A Modern Approach.