Working with Graphs in Postgres Part 1: Modeling Trees Using the Closure Table Pattern