class constructor logic exercise
person split name class