Algorithms using ArrayLists - AP Computer Science A