add @aaronj1335's solution for doublets

s/o to @mwfogleman for [the idea to use tree-seq][the setup tho]

![hashtag elegant](https://cldup.com/pc7ACxrWbD.gif)

[the setup tho]: https://mwfogleman.github.io/posts/20-12-2014-flatcat.html