implementing ordered hash set class part 1