added javadoc to isOdd