Remove Duplicate Elements from an Array in Ruby | CodeTrail