We now have all the info we need to compute the BM25 similarity function and the main method of query takes the right arguments as input