implemented example.ml and aQueue.ml