Implemented a basic way to get orders by fifo.
main now has a blocking loop using select.
Fixed a bug in fifo.c
Implemented reaction to order NOTIF.