Refactored and chaned splitNumbers

Was overthinking this. Now the function should run.
Next up is writing a unit test for this.