Strip newlines to fix challenge 4