trying with classes
more rubust and faster version
improved stability and removed a bug that caused some link to show up twice; should be faster now
cleaner version of reduce_graph
removing old code
updated readme