BUG: Replaced quadratic probing with linear probing. This solves the bug in hash_get_ptr().