isOdd function

Whether an integer is odd (or even)