Fix redefinition error
Fix compiler warnings
Use data types defined in hash.h
Merge pull request #13 from LucasJones/master

Fix compiler error