Checking if the user given number is odd or even