created person class with name instance variable