code: def Max(self, k):
          
          cdf = self.MakeCdf()
          cdf.ps = [p ** k for p in cdf.ps]
          return cdf
docs: Computes the CDF of the maximum of k selections from this dist.
  
          k: int
  
          returns: new Cdf