Simple full name detector

Test this script in two modes:

  1. last name: insert the last name with no spaces (e.g. "Machiavelli")
  2. full name and last name: insert the first name, a space and the last name (e.g. "Niccolò Machiavelli") - optional part