Reimplement FingerPrint with chaining so that digits don't need to be copied every time, and it passed the sample test case but didn't pass when the solution was submitted to the online judge.