3. Removing spaces of string