Programming assignments from Standord's Algorithms: Design and Analysis, Part 1