Move ShannonPartition to dit.algorithms.