Unix Find Command Leetcode Java