Print All Paths Leetcode Javascript Problems