decode ways leetcode solution java