Updating split() to not skip over the middle element