Print All Paths Leetcode Problem