created functions to convert single and tens digits