Program to replace multiple blanks for single ones