Assignment for AI class at Columbia.