Check collision.
Malloc and free key.
Add Makefile.
Hash the key: [ref](https://gist.github.com/soasme/6109366).