Added MaxProfits solution
Updated MaxProfits to use MinMaxPriorityQueue