This is a Binary tree implementation from scratch with only a quick look at the formal mathematics to refresh my memory of them
no changes really, just altered a debug module flag for testing