enumerating gene orders solution