added bitcount
added the solution to find the number of differing bits