Scala library for graphs and trees