Update ArrayList.cpp