Use odd? method rather than checking modulo of array size for better clarity