solution 1.4, replace whitespace in string with %20