started Chapter 4. Created Tree class