Code for the Algorithms: Design and Analysis, Part 1 class