Binary Trees and Linked Lists in C++