Move hash function to type.h
Add experimental main to test new features
Add file for graph functionalities