Currently the code only supports numbers limited by one digit. It means that the numbers can vary between 0-9. The algorithm should also support numbers with more than one digit.