Hash and list now support void pointer values instead of integer, and works by copying