added test.
removed vague collection return. return  a set instead
Forced alphabetized input after some problems writing tests.
now tempted to writte a custom class for the dictionary