Dutch Flag Problem in Ruby | Hacker News Reader