Revert definition of 'undefined' for hamming problem

In this case the contract is no contract at all.