cluster_to_nexus function

Export character partitions to a Nexus file