Tree implementation from lab in header

Got this code from my lab today. Tomorrow Olga will give more information on the assignment, but this is the tree implementation my lab assistant gave.