Refactored splitNumbers method to be able to split on whatever string we want to make code more intuitive