fix makefile
fix iterator constructor
splay tree lookups implemented