1. Write a program that finds the number of occurrences of a number in a tree of numbers.
2. Write a program that displays the roots of those sub-trees of a tree, which have exactly k nodes, where k is an integer.
3. Write a program that finds the number of leaves and number of internal vertices of a tree.