Personal implementation of the ArrayList data structure