In match order for market type, check whether the list given by the
reference is empty, despite its existence.
Added code for market order reception
Updates for tests dealing with market orders
Included MIT license