Refactoring, changed splitNumbers so it can handle uknown number of delimiters