reverse bits in int
http://leetcode.com/2011/08/reverse-bits.html