Update HashCodeUtil.java

Completed the coding for this hash utility.