starting serious dev in line_match
up to the point (on a line) of topologically sorting
there's a bug... but very close
adding the necessary topo code