Implementing hashCode() returning 1000.