added exercise to replace spaces in a string with %20