Solved problem 1.4 about replacing white spaces with %20