Implement custom comparers for Splay Tree

Fixes #34