Task #5 solving (fixed)

Please add my Task #5 solution