Adding getName

Adding getName for the class Person.