Added method to create initial tree