implemented the method of key lookups

I have finished the function ,added the document and testing. I have just learnt the Julia soon .I wish it is helpful.