changes gnuplot terminal and extension to png
adds import in greedy routing algorithm