Readme.md and XOR assignment - preferredName()

My first pull request.  Everything look good?
as per my other comment, yes, it does work, and fulfills the requested format.  Did you test it?