Update ReverseKGroups.java