splits input array values into sub-arrays of numbers and suits