The code for a BST provided by MIT from one of their online courses and my C++ implementation