Why Use Arraylist Over Array Initialization Cpp