Artificial Intelligence: A New Synthesis