Roman To Integer Leetcode Solution Python