debugged backtracking sudoku solver

it seems to be in an infinite loop on one specific input, and i’m
examining the cause

000000070
009000000
000000000
400000000
100004000
000000000
000000000
508030009
020000040