Programs for the Coursera Algorithms Part 1