Graph algorithms in Ruby