adding NameAndDate.js

submitting assignment for the Express API