Simple algorithm for generating k-subsets of a n-set