Wrote algorithmThree that replaces spaces in a NSString with %20