Ex.2 updated

Events are being created for the entries;and set when it's needed.
TO DO NEXT: return something that will give the client the possibility
of waiting for the events to be set--like a pointer to the entry that
was added (Important!)