Add note about precondition to hamming exercise

See #1867