fix vertexlist constructor previous ptr
fix vertexlist constructor previous ptr

if the list is empty then do not update previous ptr

karlredgate/graph-anim,karlredgate/graph-anim,karlredgate/graph-anim