Implementation of a Vector Space Retrieval Model using TF-IDF and cosine similarity on the Cranfield document corpus