Create ReverseKGroups.java