Software Algorithms for k-combinations