Created function ret_space to look at spaces in all names