Change name of split function to avoid confusion with problem 17