getCasteSex function

Get sex of individuals of a caste, or sex of all members of colony