recursive solution for Multiple Children Tree DFS printing