Factorial Recursion Leetcode Problems Java