void preCalculate(){
        for(int i=0; i < 256; i++){
            count[i] = countBits(i);
        }
    }
http://www.geeksforgeeks.org/count-set-bits-in-an-integer/
src/com/interview/bits/CountBits.java