to check if a no is even or odd