Check for odd/even numbers using modulo operation