passes specs for single and two-digit inputs
add conversion for 3 and 4 digit numbers.