def load_graph(location):
    """ Format the graph from the provided txt file. Returns a dictionary:
    {node: [edges]}
    """
    
    with open(location, 'r') as f:

        graph = {}

        for line in f:
            line = line.split('\t')
            graph[line[0]] = line[1:-1]

    return graph