add Distinct Subsequences

Ruby