A comparison of Human, GPT-3.5, and GPT-4 Performance in a University-Level Coding Course