Removed some unused functions from AvlTree.
Changed AvlTree.Join and AvlTree.Reroot to tupled form, and modified any call sites to match.
Changed uses of Node within the CharDiet module to use the AvlTree.Create "smart constructor" to avoid the possibility of creating a node with an invalid height.