New function: createPerson(Person person)