created parent class of Person and methods within of initialize and greeting