Delete Find non-duplicate values in an Array.rb