Begin minBits function.
More on minBits
Add some tests for minBits.
Breaking into functions.  Add more testing to min_bits.