Extend line function. IsEven and IsOdd functions that utilize bitwise OR instead of checking the remainder
'%2 == 0'
.