add some methods to test a number is odd or not.
From: Java Puzzlers  (a book)