Added makefile, hash functions