created listNodes in Map.c