Use integers instead of floats in zipfsong
Correct inverted logic for resolving ties in zipfsong