Function that takes an array and returns a new array containing only the odd numbers from the original array.