Implementing a function that prints out all the processes running on an android device in a tree structure using DFS.