-Added code to create nodes and dwell arcs