My code gives me a binary solution of x as a feasible solution like:
1 0 1 0 1 1 0 1 (in this case, two 4 bits)
Minimizing the hamming distance between them i