hashing locations of function declarations
implemented indexing functions in single file