Bitstamp Interview Question

Implement an order matching function