Solution for Roman to Integer question