How can I remove all spaces from a list?