Added typedef to make tree values modular

Now, the data type of the keys is declared in a typedef, and can be changed in
one place. The type is currently int instead of void*.

A happy consequence is that I can get rid of -Wno-int-to-pointer-cast in the
Makefile.