program to remove spaces