maximum value given # of bits
Merge branch 'master' of https://github.com/jmesmon/trifles