Working on pop_back_n and resize methods in dynamic_array.