Implementation of the initialization, appending, element lookup (Nth), and map functions for the C vector.