Match the `ArrayList` method with its primary purpose:
`get(index)` ↔️ Retrieves an element
`remove(element)` ↔️ Removes the first occurrence of an element
`add(index, element)` ↔️ Inserts an element at a specified index
`add(element)` ↔️ Adds an element to the end