How Does Arraylist Add Work