Implemented a dynamic array that holds integer values and that grows when necessary to make room for new elements. Similar to ArrayList in Java.