static boolean MarketEquilibrium (PriorityQueue<Bid> sell, PriorityQueue<Bid> buy) {
		//Check if buy queue is empty: if at least 1 queue is empty, the market is in equilibrium.
		if (buy.isEmpty() || sell.isEmpty()) {
				return true;
			}
		else { //Check whether the minimum element of sell orders > the maximum element of buy orders.
			if(sell.peek().getCost() > buy.peek().getCost()){
				return true;
			}
			else{
				return false;
			}
			
		}
	}