Changed the ranking system so that it reflects the order of the google results