https://medium.com/@AlexanderObregon/solving-the-roman-to-integer-problem-on-leetcode-scala-solutions-walkthrough-4b815d43c77e