Refactored CapturedDigit to be immutable.
Deleted file from samples.