Coursera: Algorithms, Part I, Princeton University---Programming Assignments, Week 1