http://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.hamming.html