def create_sub_G(proj_nodes, G):
    """
    Creating a new graph from the nodes in the initial embedding so we can do the initial embedding on it
    :param proj_nodes: The nodes in the initial embedding
    :param G: Our graph
    :return: A sub graph of G that its nodes are the nodes in the initial embedding.
    """
    sub_G = G.subgraph(list(proj_nodes))
    return sub_G