An Introduction to Directed Acyclic Graphs