Envestnet interview question

Implement binary tree datastructure using Python