added reverse bits effecient method and swap bits even and odd method