Added task2 (variant 5)

Added files prac_2.5.h and prac_2.5.cpp