Nokia interview question

write vector-like container from scratch