Added printPaths() method: prints all paths that exist in the tree from
the root to a leaf