Custom hash table implementation, quick'n'dirty, only used for study purposes.