adding vector/dynamic array data structure