example + tree creating and printing