passes all tests and returns the number from an roman number