Added greedy algo for set cover when multiple cache candidates for a query patterns exist