Added JRadioButton and ButtonGroup for selecting gender.