Solved Roman to Integer problem.