Remove Extra Spaces

  Trim leading/trailing whitespaces from lines. Remove extra spaces. Remove all spaces.
  Unix Dos.