pass person objects to greetPeople instead of names, delete console.logs