Use merge sort and binary search instead of brute force searching.. Add string comparison to make code hash collision free