dag2pag function

Convert a DAG with latent variables into a PAG