Pregunta de entrevista de Silk Technologies

implement split function and some variations of it.