Exercise for the course: Algorithms and Data Structures in C