added test10 for multiple length delimiter
added test for different delimiters
added test for delimiter of any length and type
code cleaned up