Added tld function for searching in  a collection

Please note that this was only for learning purposes. Looking forward to getting your comments on this