Fixed bug in the split function: use split_char and not space
Added TODO warning for split function