Searching dictionary changes

Changed from binary search to linear search.