corrected function to return array of natural numbers below 'max_num' that are multiples of 'multiple'