Print Stairs Path Leetcode Javascript Practice