add comment
add a testcase for EntitiesSet
refactor Deal
add test case for Exchange.compute_deals
add more test_compute_deals1