add new vector representation as a library
hashmap: port to Vec<T>