RUBY: Substring matcher #algorithm #quiz