Ruby solutions to Coursera Algorithms Part 1 - https://class.coursera.org/algs4partI-006