start chapter 4, implement simple binary tree