It's a practice about dynamic memory access with implement a vector like api  in c