modify code for get-number-appears-odd-times