Update ArrayList.java

Add changes of toString