Completes 5.2-5.5 exercises on Plains of Prototypes

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