Print all size-K subset for an array

e.g {1, 2, 3}

all size-2 subsets are {1, 2}, {2, 3}, {1, 3}