Attempts to graph algorithms in python