Adding a test on the ArrayList efficiency versus LinkedList