NLP for Information Retrieval using B Trees