refactored using an array to keep track of arabic to roman equivalences