C_code_to_remove_spaces_from_a_string