split a line into words