added implementation for inserting person
added implementation for inserting person