vertices = graph_dict.keys()

- _get_cycles(graph_dict, vertice, [], ~~[]~~, result)

+ _get_cycles(graph_dict, vertice, [], set(), result)

def _get_cycles(graph_dict, vertice=None, path=None, visited=None, result=None):

for node in graph_dict[vertice]:

_get_cycles(graph_dict, node, path, visited, result)