Resubmitting pull request

submit assignment 2.1, 2.2, and draft 3.1
Also, as it stands  this code does not cover the condition of both names being false/undefined. If I pass that in right now your function returns "undefined" instead of "false." Think about how you can fix that and resubmit! :)