Assignment 2 for course Algorithms and Data Structures (6114)