with help of debugger it easier to implement the refmap struct
prepared for compiling in referencemap instead of references itself
made hash function collision free by using pairwise inner product
debugging
final assignment implemented
in the hope precise gives better errors