convertSexCodes function

Converts sex indicator for an individual to a standardized codes.