Added newline split functionality to splitNumbers()