Program assignment for Coursera course: <Algorithms: Design and Analysis, Part 1>