For B&B greaterRevenue functioned added to compare 2 lists and return
the 1 list with a greater revenue