Flatten Nested List Iterator Leetcode Solution In C