convertion from roman numbers to integer function implemented