program replaces even numbers in an array with 'even' and odd numbers with 'odd'