Problem 5 solved

Problem 5 solved