Changed language level to 1.6 because I only have 1.6 installed on my machine at the moment.
Replaced calls to more specific addAskOrder and addBidOrder with calls to addOrderAndExecuteTrade.