A Ternary Search Tree in Haxe 3.1+.