Assignment 2.2

I added Assignment 2.2. Not very elegant, but I think it works.
what happens if we pass in two valid names to this function? `preferredName('hank', 'yates')` ?