Node and tree concepts with pointers