add Combinations.java and modify 3 files