adding NameAndDate.js

submitting assignment for the Express API
make sure to use res.json instead of res.send when you're sending json.