Added a group method to ArrayList and String modules; still need to add it to LinkedList.