Complete the Tree class and add a test with a printer by BFS ans DFS