Vector Space model implementation of the Information Retrieval . As given in Christopher Manning