Revise HashTable probing

Change: replace return value and key comparison with try-get pattern.
Change: improve formatting with more whitespace.