Solution for task 28
Added other solution to problem 28