Refactored nested if for case in 0-9
Implemented 10-19