review edits.4

remove -k option, but allow k=None which gives sum of all ways to
get combinations, permutations or partitions of all lengths.
edit docstrings