write a function in java called hashsumdigits() that will take a non-negative value to be stored in a hash table and the size of the table and returns the index where the value will be stored.