private static void cleanUpOrders(TYPE side, Orders myOrders, Collection<Order> toKeep, Havelock hl){
		Collection<Order> orders = null;
		if(side == TYPE.ASK){
			orders = myOrders.getAllAskOrders();
		} else if(side == TYPE.BID){
			orders = myOrders.getAllBidOrders();
		}
		orders.removeAll(toKeep);
		//cancel other order
		for(Order order : orders){
			if(!hl.cancelOrder(order)){
				System.err.println("Failed to cancel order! " + order.toString());
			} else {
				System.out.println("Cancelling order " + order.toString());
			}
		}
	}