Extracts each element from the line, then bonds them in order