perfect hash set finished and tested