implemented hashCode and equals in subset moves

might improve cache performance