RUBY: Substring match #algorithm