I'm not sure I know what you're getting at because:
>But if the first digit is 3, the second must be 2
Why?
>So now we've fixed an answer set (no, no, yes, no, yes) that leaves us with exactly one pin number: five zero three nine.
This is not correct, because with (no, no, yes, no, yes) the pin 3039 would also be valid, so five zero three nine is not a unique solution.