Completes 4.7-4.10 exercises on Events

Signed-off-by: Irina Chichikova <diva.artim@gmail.com>