I looked at a homework assignment: sorting names by gender