Add three leetcode java solutions