optimize the hashJoin, using linkedlists instead of sets