Ruby script to convert phone numbers and compare them to a dictionary