made adjacency list self nodes actually hold correct zValue