Computes the Hamming Ball centered at x with radius r.
H_ball(x, S, r)
x
center of the Hamming Ball
S
number of states
r
radius of the Hamming Ball
Hamming Ball