Iterative Causal Discovery in the Possible Presence of Latent Confounders and Selection Bias