Update and rename collapse.java to ArrayListMethods.java