First programming assignment for Artificial Intelligence