C Vector Implementation