title: bit manipulation:print the next smallest and largest numbers with same no of 1 bits
body: <p><strong>Given an integer , print the next smallest and next largest number that have the same number of 1 bits in their binary representation</strong></p>
  
  <p>After Counting the number of 1's in the number.How to determine the next smallest number?</p>