Code an orderbook with GTC and FillAndKill order types.
Anonymous
The only real gimick here is to check whether the FillAndKill order can match against the orderbook immediately. If it can't kill it, if it can match as much of it as you can then pop it off your queue / list (discard it).
Check out your Company Bowl for anonymous work chats.