Depth-first recursive brute-force solution to the Hamming code challenge.