Roman to Integer Leetcode solution