Problem 79 - Passcode derivation

 - Build the code up in reverse, looking for the digit that only precedes
   the known end-of-code so far.
 - Not a general solution, but worked for this case :)