Force Evens

Force Evens

Go through the given ArrayList nums and increase all odd values so that they are replaced with the next highest even number. When your code is complete the list should only contain even numbers.

forceEvens( [1, 2, 3, 4, 5, 6 ] ) => [ 2, 2, 4, 4, 6, 6 ]
forceEvens( [1, 3, 3, 1 ] ) => [ 2, 4, 4, 2 ]
forceEvens( [-3, -1, 6 ] ) => [ -2, 0, 6 ]
forceEvens( [ ] ) => [ ]