Update AllCombinations.java

test case example