I'm not sure why my main.cpp file doesn't work as intended, but my friend does using my header file to run his code. Therefore, the header file code shouldn't be the problem, but rather my main file. I have no idea what's wrong and need help. Our file reads from file and places it into the tree