initial solution
initial find digits solution
refactor find digits
better implementation