Working Java code to add a new person to my family table