added basic binary tree code