Refactored contacts.rb
Updated contacts.rb