Simple hash-list implementation