Adding perfect_hashing module (with perfect numbering)

Adding tests for perfect_hashing