A Scala implementation of the examples in Chris Okasaki's Purely Functional Data Structures.