Teaching Introduction to Programming in the times of AI: A case study of a course re-design