aargh, forgot to finish the algorithm during abstraction
updated results in readme to reflect new graphbased algorithm