roman to integer leetcode solution java