Generate random individual nodes with initial information and random initial infected nodes.