Completes 4.16-4.19 exercises on The Ocean of Objects

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