Exercise 05 cpp solution added